package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 活动对象 jiajia_huo_dong
 * 
 * @author knd
 * @date 2021-11-04
 */
public class JiajiaHuoDong extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 活动名称 */
    @Excel(name = "活动名称")
    private String name;

    /** 活动分类 1 社工 2 用户 */
    @Excel(name = "活动分类 1 社工 2 用户")
    private Long type;

    /** 图片地址 */
    @Excel(name = "图片地址")
    private String photo;

    /** 跳转地址 */
    @Excel(name = "跳转地址")
    private String url;

    /** 是否删除 0否 1 是 */
    @Excel(name = "是否删除 0否 1 是")
    private Long del;

    /** 是否展示 0否 1 是 */
    @Excel(name = "是否展示 0否 1 是")
    private Long isShow;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }
    public void setPhoto(String photo) 
    {
        this.photo = photo;
    }

    public String getPhoto() 
    {
        return photo;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setDel(Long del) 
    {
        this.del = del;
    }

    public Long getDel() 
    {
        return del;
    }
    public void setIsShow(Long isShow) 
    {
        this.isShow = isShow;
    }

    public Long getIsShow() 
    {
        return isShow;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("type", getType())
            .append("photo", getPhoto())
            .append("url", getUrl())
            .append("del", getDel())
            .append("isShow", getIsShow())
            .toString();
    }
}
